<ul class="nav nav-tabs">
    <li {if condition="in_array($action,['index'])"}class="active"{/if}>
        <a href="{:U('index')}">邀请列表</a>
    </li>
</ul>